package com.xboard.server.common.vo;

import org.codehaus.jackson.annotate.JsonAutoDetect;


//@XmlRootElement
@JsonAutoDetect
public final class UserVo {

	private  String id;
	private  String name;
	private  String email;

	public UserVo() {
	}
	
	public UserVo(String id, String name, String email) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
		
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}
	
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UserVo other = (UserVo) obj;
		if (id != other.id)
			return false;
		return true;
	}
	
	
}
